const baseURL = "/App";
export const apis = {
  SEND_CODE: baseURL + "/user/sendSms", //发送验证码
  USER_LOGIN: baseURL + "/user/smsLogin",//用户验证码登录
  CHECK_USER_INFO: baseURL + "/user/checkUserInfo", //用户查询
  PRODUCT_LIST: baseURL + "/product/productList",  //获取全部商品列表信息
  GET_PRODUCT_BY_ID: baseURL + "/product/productById", //根据商品ID获取商品信息
  UPDATE_PRODUCT_NUM: baseURL + "/product/updateProductNum", //更新商品售卖数量
  ADD_ORDERS_PRODUCT: baseURL + "/product/addOrdersProduct", //更新商品售卖数量
  ADD_ADDRESS: baseURL + "/user/addAddress", //添加收货地址
  GET_ADDRESS_LIST: baseURL + "/user/getAddressList",//查询收货地址列表
  UPDATE_ADDRESS: baseURL + "/user/updateAddress",//更新收货地址
  CREATE_ORDER: "/order/createOrder",//提交订单
  GET_ORDER_LIST: "/order/getOrderList", //获取订单列表，获取最近20条记录
  GET_APP_REFUND_ORDERS: "/order/getAppRefundOrders", //获取退款订单列表，20条
  FINISH_ORDER: "/order/finishOrder", //用户手动确认订单已完成
  REFUND_ORDER_SUBMIT: "/order/refundOrderSubmit", //用户退款提交
  GET_RANK_LIST: baseURL + "/product/getRankList", //获取前五销量商品
  GET_TOKEN: "/user/get_token",
  DECRYPT_MOBILE: "/user/decrypt_mobile"
}
